package com.zy.cat.entity.pdd;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @info 拼多多店铺高佣转链实体类
 * @author Link
 * @date 2019-10-31 15:22
 */
@Data
@ApiModel("拼多多店铺高佣转链实体类")
public class PddMallConvert {

	/**
	 * 唤起微信app推广链接
	 */
	@JsonProperty("we_app_web_view_url")
	@ApiModelProperty(value = "唤起微信app推广链接", example = "-")
	private String weAppWebViewUrl = "";

	/**
	 * 唤起微信app推广短链接
	 */
	@JsonProperty("we_app_web_view_short_url")
	@ApiModelProperty(value = "唤起微信app推广短链接", example = "-")
	private String weAppWebViewShortUrl = "";

	/**
	 * 推广链接
	 */
	@JsonProperty("url")
	@ApiModelProperty(value = "推广链接", example = "-")
	private String url = "";

	/**
	 * 推广短链
	 */
	@JsonProperty("short_url")
	@ApiModelProperty(value = "推广短链", example = "-")
	private String shortUrl = "";

	/**
	 * 推广移动链接
	 */
	@JsonProperty("mobile_url")
	@ApiModelProperty(value = "推广移动链接", example = "-")
	private String mobileUrl = "";

	/**
	 * 推广移动短链接
	 */
	@JsonProperty("mobile_short_url")
	@ApiModelProperty(value = "推广移动短链接", example = "-")
	private String mobileShortUrl = "";

	/**
	 * schema的链接
	 */
	@JsonProperty("schema_url")
	@ApiModelProperty(value = "schema的链接", example = "-")
	private String schemaUrl = "";

	/**
	 * qq小程序信息
	 */
	@JsonProperty("qq_app_info")
	@ApiModelProperty(value = "qq小程序信息", example = "-")
	private QqAppInfo qqAppInfo;

	@Data
	public static class WeAppInfo {

		/**
		 * 小程序图片
		 */
		@JsonProperty("we_app_icon_url")
		@ApiModelProperty(value = "小程序图片", example = "-")
		private String weAppIconUrl = "";

		/**
		 * Banner图
		 */
		@JsonProperty("banner_url")
		@ApiModelProperty(value = "Banner图", example = "-")
		private String bannerUrl = "";

		/**
		 * 描述
		 */
		@JsonProperty("desc")
		@ApiModelProperty(value = "描述", example = "-")
		private String desc = "";

		/**
		 * 来源名
		 */
		@JsonProperty("source_display_name")
		@ApiModelProperty(value = "来源名", example = "-")
		private String sourceDisplayName = "";

		/**
		 * 小程序path值
		 */
		@JsonProperty("page_path")
		@ApiModelProperty(value = "小程序path值", example = "-")
		private String pagePath = "";

		/**
		 * 用户名
		 */
		@JsonProperty("user_name")
		@ApiModelProperty(value = "用户名", example = "-")
		private String userName = "";

		/**
		 * 小程序标题
		 */
		@JsonProperty("title")
		@ApiModelProperty(value = "小程序标题", example = "-")
		private String title = "";

		/**
		 * 拼多多小程序id
		 */
		@JsonProperty("app_id")
		@ApiModelProperty(value = "拼多多小程序id", example = "-")
		private String appId = "";

	}

	@Data
	public static class QqAppInfo {

		/**
		 * 拼多多小程序id
		 */
		@JsonProperty("app_id")
		@ApiModelProperty(value = "拼多多小程序id", example = "-")
		private String appId = "";

		/**
		 * Banner图
		 */
		@JsonProperty("banner_url")
		@ApiModelProperty(value = "Banner图", example = "-")
		private String bannerUrl = "";

		/**
		 * 描述
		 */
		@JsonProperty("desc")
		@ApiModelProperty(value = "描述", example = "-")
		private String desc = "";

		/**
		 * 小程序path值
		 */
		@JsonProperty("page_path")
		@ApiModelProperty(value = "小程序path值", example = "-")
		private String pagePath = "";

		/**
		 * 小程序icon
		 */
		@JsonProperty("qq_app_icon_url")
		@ApiModelProperty(value = "小程序icon", example = "-")
		private String qqAppIconUrl = "";

		/**
		 * 来源名
		 */
		@JsonProperty("source_display_name")
		@ApiModelProperty(value = "来源名", example = "-")
		private String sourceDisplayName = "";

		/**
		 * 小程序标题
		 */
		@JsonProperty("title")
		@ApiModelProperty(value = "小程序标题", example = "-")
		private String title = "";

		/**
		 * 用户名
		 */
		@JsonProperty("user_name")
		@ApiModelProperty(value = "用户名", example = "-")
		private String userName = "";

	}
}
